-
Home
-
YayPricing – WooCommerce Dynamic Pricing & Discounts
-
3.4.1
-
Code
-
Classes
- YAYDP_Cart_Discount_Manager
Total Complexity |
38 |
Dependencies |
6 |
Dependents |
1 |
Total lines |
234 |
Lines of code |
144 |
Logical lines of code |
93 |
Comment lines |
54 |
Methods |
11 |
Properties |
3 |
Methods 11
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
remove_yaydp_discounts() |
A |
52 |
8 |
26 |
get_shop_coupon_data() |
S |
53 |
6 |
22 |
change_coupon_message() |
S |
58 |
5 |
16 |
change_coupon_error() |
S |
58 |
5 |
16 |
change_coupon_label() |
S |
57 |
4 |
16 |
change_coupon_html() |
S |
57 |
4 |
16 |
calculate_pricings() |
S |
60 |
2 |
13 |
__construct() |
S |
61 |
1 |
11 |
before_calculate_pricings() |
S |
82 |
1 |
3 |
after_calculate_pricings() |
S |
91 |
1 |
2 |
handle_use_time() |
S |
79 |
1 |
3 |